
#include "SectionDataItem.hpp"
#include "PropertyDataItem.hpp"
#include <QFileInfo>

#include <vtkProperty.h>
#include <vtkVertex.h>

namespace NSDatax {

	SectionDataItem::SectionDataItem() :
		NSCore::AbstractDataItem()
	{
		init();
	}

	SectionDataItem::SectionDataItem(QTreeWidget* tree) :
		NSCore::AbstractDataItem(tree)
	{
		init();
	}

	SectionDataItem::SectionDataItem(QTreeWidgetItem* view) :
		NSCore::AbstractDataItem(view)
	{
		init();
	}

	SectionDataItem::~SectionDataItem() {

	}

	void SectionDataItem::init() {


	}


	void SectionDataItem::getPropertyTree(QTreeWidget* p_tree) {
		const auto& top = new PropertyDataItem(p_tree);
		top->setIcon(0, icon(0));
		top->setText(0, text(0));
		top->setExpanded(true);

	}

}

